package action;

import com.opensymphony.xwork2.ActionSupport;

import dao.RegisterDao;
import entity.ZhuCe;






public class RegisterAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    private ZhuCe zhuce;
    



	public ZhuCe getZhuce() {
		return zhuce;
	}




	public void setZhuce(ZhuCe zhuce) {
		this.zhuce = zhuce;
	}




	public static long getSerialversionuid() {
		return serialVersionUID;
	}




	public String addUser(){
		RegisterDao rd=new RegisterDao();
		rd.addUser(zhuce);
		
		return SUCCESS;
	}
}
